package com.sunyard.inser.dto;

import java.io.Serializable;
import java.util.List;

public class DataTablesResult implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 失败消息
	 */
	private String message;

	/**
	 * 返回代码
	 */
	private String code;

	private int recordsTotal;

	private int recordsFiltered;


	private List<?> data;

	public int getRecordsTotal() {
		return recordsTotal;
	}


	public void setRecordsTotal(int recordsTotal) {
		this.recordsTotal = recordsTotal;
	}

	public int getRecordsFiltered() {
		return recordsFiltered;
	}

	public void setRecordsFiltered(int recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}



	public String getMessage() {
		return message;
	}


	public void setMessage(String message) {
		this.message = message;
	}


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public List<?> getData() {
		return data;
	}

	public void setData(List<?> data) {
		this.data = data;
	}


	@Override
	public String toString() {
		return "DataTablesResult [message=" + message + ", code=" + code + ", recordsTotal=" + recordsTotal
				+ ", recordsFiltered=" + recordsFiltered + ", data=" + data + "]";
	}

	
	
}
